package Plateau;

import java.io.File;

import javax.imageio.ImageIO;
import javax.swing.JPanel;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JPanel;

public class Victoire extends JPanel{

	
	String name;
	  public void paintComponent(Graphics g) {
         
		  Font font = new Font("Courier", Font.BOLD, 40);
		  g.setFont(font);
		  
		  g.setColor(Color.black);
		  g.drawString("VICTOIRE de "+name, 20, 30);
    }               

	public Victoire(String nomDuJoueur) {
		this.name=nomDuJoueur;	
	}
	
}
